<!DOCTYPE html>
<html>
  <head>
    <title>jQuery WeUI</title>
    <meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"/>

<meta name="description" content="Write an awesome description for your new site here. You can edit this line in _config.yml. It will appear in your document head meta (for Google search results) and in your feed.xml site description.
"/>

<link rel="stylesheet" th:href="@{/dist/lib/weui.min.css}" />
<link rel="stylesheet" th:href="@{/dist/css/jquery-weui.min.css}" />
<link rel="stylesheet" th:href="@{/dist/demos/css/demos.css}" />
<script type="text/javascript" th:src="@{/dist/lib/jquery-2.1.4.js}" ></script>
<script type="text/javascript" th:src="@{/dist/js/jquery-weui.js}" ></script>
<script type="text/javascript" th:src="@{/dist/lib/fastclick.js}" ></script>
<link rel="stylesheet" th:href="@{/adminltecss/userl.css}" />
<link href="//netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"/>
  <style type="text/css">
  
  		.cusmar{
  		margin-left: 40px;
  	}
  	.header-wai{
  		position: fixed;top:0px; height:60px;background-color: #363436;
  	}
  
  </style>
  <script type="text/javascript" th:inline="javascript">
  /*<![CDATA[*/
	  		
	  		function itemsDetailed(domEle){
	  			var id=$(domEle).find("input[type='hidden']").val();
	  			//当登录时才可以查看详情，所以用户不能查看详情
	  			var userDemo=/*[[${session.EmployeeInfo}]]*/
	  			/* alert(userDemo) */
	  		 window.location.href="/WHeadInfoController/selectItemsAllInfo?id="+id+""; 
	  
 			}
	  
	  
  /*]]>*/
  </script>
  </head>
  <body ontouchstart>
<!--<div class="weui-cell small-box">
  				<a class="fa fa-arrow-left small-box-footer sl-pad" href="#"><span class="sl-pad">返回</span></a>
  			</div> 	-->
  		<div class="weui-tabbar header-wai" style="">
  		<a href="" class="weui-tabbar__item"  id="cusdow">
          <div class="weui-tabbar__icon"></div>
          <p class="weui-tabbar__label" style="font-size: 20px; color: white; line-height: 1px;">
          	
          	首页<span class="fa fa-angle-down fa-2x" style="color: white;float: right; margin-right: 10px;line-height: 10px; " id="down"></span></p>
        </a>
      </div>
  		<article class="weui-article" style="margin-top:45px">
     
      
          <div th:each="items:${listItemsAllInfo}" onclick="itemsDetailed(this)">
          <input type="hidden" th:value="${items.id}">
            <img th:src="${items.ipic}"/>
            <br />
      	<h1 class="demos-title fa fa-home" th:inline="text">[[${items.iname}]]&nbsp;热度：<span th:text="|${items.iheat}|" style="margin-left:10px"></span></h1>
    	<p class="weui-footer__links" style="margin-bottom:30px">
          <a href="#" class="weui-footer__link" style="color: black;">地址：<span th:text="${items.iaddress}"></span>&nbsp;&nbsp;<span class="demos-title" style="font-size:14px" >更多</span></a>
        </p>
        </div>
         <!--  <img th:src="@{/demos/images/pic_article.png}"/>
          <br />
      <h1 class="demos-title fa fa-home">楼盘2</h1>
    <p class="weui-footer__links">
          <a href="#" class="weui-footer__link" style="color: black;">商圈附近&nbsp;&nbsp;|&nbsp;&nbsp;坐北朝南&nbsp;&nbsp;|&nbsp;&nbsp;三室&nbsp;&nbsp;|&nbsp;&nbsp;学区房</a>
        </p>
          <img th:src="@{/demos/images/pic_article.png}"/>
          <br />
      <h1 class="demos-title fa fa-home">楼盘3</h1>
    <p class="weui-footer__links">
          <a href="#" class="weui-footer__link" style="color: black;">商圈附近&nbsp;&nbsp;|&nbsp;&nbsp;坐北朝南&nbsp;&nbsp;|&nbsp;&nbsp;三室&nbsp;&nbsp;|&nbsp;&nbsp;学区房</a>
        </p> -->
         </article>
     
  	
  	 
       <br/>
      <br/>
  	<div class="weui-tabbar"  style="position: fixed;">
        <a th:href="@{/WHeadInfoController/intoPicInfo}" class="weui-tabbar__item weui-bar__item--on">
          <!-- <span class="weui-badge" style="position: absolute;top: -.4em;right: 1em;"></span> -->
          <div class="weui-tabbar__icon">
            
            <img th:src="@{/demos/images/icon_nav_button.png}" />
          </div>
          <p class="weui-tabbar__label">首页</p>
        </a>
        
        
        
        
        
         
        <!--判断是否登陆  -->
        <a href="javascript:void(0)" class="weui-tabbar__item" th:if="${session.EmployeeInfo!=null}"> 
          <div class="weui-tabbar__icon">
            <img th:src="@{/demos/images/icon_nav_msg.png}" alt=""/>
          </div>
          <p class="weui-tabbar__label">菜单</p>
        </a>
        
        <a th:href="@{/WBizController/loginDemo}" class="weui-tabbar__item" th:if="${session.EmployeeInfo==null}"> 
          <div class="weui-tabbar__icon">
            <img th:src="@{/demos/images/icon_nav_msg.png}" alt=""/>
          </div>
          <p class="weui-tabbar__label">菜单</p>
        </a>

		<!--判断是否登陆  -->
        <a th:href="@{/selectAllCustomers}" class="weui-tabbar__item" th:if="${session.EmployeeInfo!=null}">

          <div class="weui-tabbar__icon">
            <img th:src="@{/demos/images/icon_nav_article.png}" alt=""/>
          </div>
          <p class="weui-tabbar__label">客户</p>
        </a>
         <a th:href="@{/WBizController/loginDemo}" class="weui-tabbar__item" th:if="${session.EmployeeInfo==null}">

          <div class="weui-tabbar__icon">
            <img th:src="@{/demos/images/icon_nav_article.png}" alt=""/>
          </div>
          <p class="weui-tabbar__label">客户</p>
        </a>
        
        
        
        
        
        
        
        
        <a th:href="@{/WBizController/HeadPage}" class="weui-tabbar__item">
          <div class="weui-tabbar__icon">
            <img th:src="@{/demos/images/icon_nav_cell.png}" alt=""/>
            
          </div>
          <p class="weui-tabbar__label">我的</p>
        </a>
      </div>
  	</body>
  </html>
